<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	
	<h3>使用超链接实现下载资源</h3>
	<a href="/JavaWeb1907/download/a.mp4">a.mp4</a><br/>
	<a href="/JavaWeb1907/download/a.txt">a.txt</a><br/>
	<a href="/JavaWeb1907/download/a.pdf">a.pdf</a><br/>
	<a href="/JavaWeb1907/download/a.pptx">a.pptx</a><br/>
	<h3>通过Servlet实现下载资源，即使浏览器能支持</h3>
	<a href="/JavaWeb1907/download?fileName=a.mp4">a.mp4</a><br/>
	<a href="/JavaWeb1907/download?fileName=a.txt">a.txt</a><br/>
	<a href="/JavaWeb1907/download?fileName=a.pdf">a.pdf</a><br/>
	<a href="/JavaWeb1907/download?fileName=a.pptx">a.pptx</a><br/>
	
	
</body>
</html>